home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12462 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: cdn_news.telecom.com.au!usenet
  2. From: David Nottage <DNottage@STNECSS.telecom.com.au>
  3. Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
  4. Subject: Re: Calling all API experts !!
  5. Date: 20 Mar 1996 03:16:54 GMT
  6. Organization: Sorted, Indexed and Hashed
  7. Message-ID: <4intb6$lqc@cdn_news.telecom.com.au>
  8. References: <DoIMG1.F9y@unx.sas.com> <314EC5B0.7C0C@virtus.com>
  9. NNTP-Posting-Host: tha44.scon.telecom.com.au
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15. >The following function will let you read all the keys for a section.  
  16. >Once you have the keys, you can easily get the values.  As for 
  17. >documentation on the Windows API, the SDK manuals (also available as 
  18. >online help for most development systems) and "Programming Windows" by 
  19. >Charles Petzold (on the MSDN CD-ROM and recently updated for Windows 95) 
  20. >are your two best bets.  Hope this helps.
  21.  
  22. (code deleted)
  23.  
  24. Why go to all that trouble, when there's a standard component (and many other 
  25. freeware/shareware) to handle INI files. TINIFile allows you to read the entire section 
  26. using the ReadSection and ReadSectionValues methods.
  27.  
  28. Also, there is documentation on Windows API calls in WINAPI.HLP, supplied with Delphi. The 
  29. SDK manuals are for C.
  30.  
  31. Dave
  32.  
  33.